package org.tinygroup.bizframe.dao.inter.constant;

import org.tinygroup.bizframe.dao.inter.pojo.Tbhisuerpwd;
import org.tinygroup.tinysqldsl.base.Column;
import org.tinygroup.tinysqldsl.base.Table;

/**
 * <!-- begin-user-doc --> 用户历史密码表 * <!-- end-user-doc -->
 */
public class TbhisuerpwdTable extends Table {

	/**
	 * <!-- begin-user-doc --> <!-- end-user-doc -->
	 */
	public static final TbhisuerpwdTable TBHISUERPWD_TABLE = new TbhisuerpwdTable();

	/**
	 * <!-- begin-user-doc --> ID * <!-- end-user-doc -->
	 */
	public final Column ID = new Column(this, "id");
	/**
	 * <!-- begin-user-doc --> 流水号 * <!-- end-user-doc -->
	 */
	public final Column SERIAL_NO = new Column(this, "serial_no");
	/**
	 * <!-- begin-user-doc --> 用户代码 * <!-- end-user-doc -->
	 */
	public final Column USER_ID = new Column(this, "user_id");
	/**
	 * <!-- begin-user-doc --> 用户密码 * <!-- end-user-doc -->
	 */
	public final Column USER_PWD = new Column(this, "user_pwd");
	/**
	 * <!-- begin-user-doc --> 备用1 * <!-- end-user-doc -->
	 */
	public final Column RESERVE1 = new Column(this, "reserve1");

	private static java.util.Map<String, String> mappings = new java.util.Hashtable<String, String>();

	public String getFieldName(String attrName) {
		return mappings.get(attrName);
	}

	public TbhisuerpwdTable() {
		super("tbhisuerpwd");
	}

	public TbhisuerpwdTable(String schemaName) {
		super(schemaName, "tbhisuerpwd");
	}

	public TbhisuerpwdTable(String schemaName, String alias) {
		super(schemaName, "tbhisuerpwd", alias);
	}

	public TbhisuerpwdTable(String schemaName, String alias, boolean withAs) {
		super(schemaName, "tbhisuerpwd", alias, withAs);
	}

	public boolean isAutoGeneratedKeys() {
		return true;
	}

	public Class<Tbhisuerpwd> getPojoType() {
		return Tbhisuerpwd.class;
	}

	static {
		mappings.put("id", "id");
		mappings.put("serialNo", "serial_no");
		mappings.put("userId", "user_id");
		mappings.put("userPwd", "user_pwd");
		mappings.put("reserve1", "reserve1");

	}

}
